name = input("请输入姓名：")
week = eval(input("请输入一周工作时间："))
pay = eval(input("请输入每小时报酬："))
federal_rate = eval(input("请输入税率："))
state_rate = eval(input("请输入州税率："))

all_pay = pay*week



print("姓名：",name)
print("工作时间：",week)
print("每小时工作报酬：$",pay)
print("领取的到报酬：$",all_pay)
print("说明：")
print("    税：(",format(federal_rate,".1%"),"):$",format((all_pay*federal_rate),".2f") )
print("    州税：(",format(state_rate,".1%"),"):$",format((all_pay*state_rate),".2f"))
print("    总税：:",format((all_pay*(federal_rate+state_rate)),".2f"))
print("最终得到的报酬：$",format(all_pay * ( 1- (federal_rate+state_rate) ),".2f"))

